import Vue from 'vue'
import Vuex from 'vuex'
import state from './state'
import mutations from './mutations'
import actions from './actions'
import getters from './getters'
import storeModule from './module'

Vue.use(Vuex)

const modules = {
  ...storeModule
}
console.log(modules)
export default new Vuex.Store({
  state,
  getters,
  mutations,
  actions,
  modules
})
